#include <string>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <arpa/inet.h>
#include <sys/types.h>
#include <sys/epoll.h>
#include <string>
#include <iostream>
#include <algorithm>
#include "../include/chat_tool.h"
#include "../include/threadpool.h"
using namespace std;
int main()
{
    chatroom_tool server;
    server.init(10038, "root", "7182469350", "test");
    try
    {
        for (;;)
        {
            server.wait_user();
        }
    }
    catch(...)
    {

    }
}